package top.resty.erp.service;

import top.resty.erp.domain.Manager;

import java.util.List;

public interface ManagerService {
	
	public Manager getUserForNameAndPassword(Manager manager);
	
	public List<Manager> getManagers();
	
	public int saveManager(Manager manager);
	
	public int delManager(Integer index);
	
	boolean getName(String userName);
	
	
	public int updateManager(String keyStr,String valueStr,Integer id);
	
	Manager findManagerByRealName(String realName);
}
